package com.punai.customer.mapper;

import com.punai.common.core.mapper.CommonMapper;
import com.punai.customer.domain.CusGxFeatureConsume;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 标准费用项特征描述设置耗量Mapper接口
 *
 * @author zhx
 * @date 2023-05-15
 */
public interface CusGxFeatureConsumeMapper extends CommonMapper<CusGxFeatureConsume>
{
    public List<CusGxFeatureConsume> selectFeatureDescribe(@Param("gxId") String gxId, @Param("companyId") Long companyId,@Param("address") String address);

    public String selectAddressById(@Param("id") String id, @Param("companyId") Long companyId);

    public List<String> selectFeatureDescribeIds(@Param("gxId") String gxId, @Param("companyId") Long companyId,@Param("address") String address);

    public int updateFeatureDescribeDelFlagIsTwo(@Param("id") String id, @Param("companyId") Long companyId);

    public int updateFeatureDescribeDelFlagIsZero(@Param("gxId") String gxId,@Param("address") String address, @Param("companyId") Long companyId);

    List<String> checkFeatureDescribe(@Param("companyId") Long companyId,@Param("gxId") String gxId, @Param("featureId") String featureId);
}
